<?php
	class IndexAction extends Action {
		public function index(){
			$array['name']    =    'thinkphp';
			$array['email']   =    'liu21st@gmail.com';
			$array['phone']   =    '12335678';
			// 模板变量赋值
			$this->assign( $array);	
			//输出模板
			$this->display('./Tpl/Index/index.html');
		}
		public function index2(){
			$array['name']    =    'thinkphp2';
			$array['email']   =    'liu21st2@gmail.com';
			$array['phone']   =    '123356782';
			// 模板变量赋值
			$this->assign( $array);	
			//输出模板
			$this->display('./Tpl/Index/index.html');
		}
	}
?>